import { HIDEMODEL, SHOWMODEL, SHOWMODELSAGA } from "../const/model.const";

export const show = () => ({ type: SHOWMODEL });
export const hide = () => ({ type: HIDEMODEL });

export const show_async = () => dispatch =>{
   setTimeout(()=>{
    dispatch(show())
   },2000)
}

export const show_saga = () =>({type:SHOWMODELSAGA})